package com.example.im.model.dao;
//邀请信息的表
public class InviteTable {
    public static final String TAB_NAME = "tab_invite";

    public static final String COL_USER_HXID = "user_hxid";//用户的环信
    public static final String COL_USER_NAME = "user_name";//用户的名称

    public static final String COL_GROUP_HXID = "group_hxid";//群组名称
    public static final String COl_GROUP_NAME = "group_name";//群组环信

    public static final String COL_REASON = "reason";//邀请的原因
    public static final String COL_STATUS = "status";//邀请的状态

    /**
     * 注意建表语句，参数格式和个数一定要认真核对
     * 后面调用增删改查操作方法的出错的时候不会报错
     * bebug也不会报错
      */
    public static final String CREATA_TAB = "create table "
            +TAB_NAME+ " ("
            +COL_USER_HXID + " text primary key,"
            +COL_USER_NAME + " text,"
            +COL_GROUP_HXID + " text,"
            +COl_GROUP_NAME + " text,"
            +COL_REASON + " text,"
            +COL_STATUS + " integer);";
}
